package com.dkm.ec.product.persistence.entity;
import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:产品（抽象） Tbl对象
 * 开发公司:SKG.COM
 * 开发人员:颜超敏
 * 创建时间:2015-01-16 09:07:45
 */
 @ITable(name="productEntity",code="skg_prod_entity")
public class ProductEntityTbl extends AbstractPo<String>{
	@IField(name="id",column="id_")
	protected String  id; 		/*产品ID*/
	@IField(name="name",column="name_")
	protected String  name; 		/*名称*/
	@IField(name="subName",column="sub_name_")
	protected String  subName; 		/*副名称*/
	@IField(name="key",column="key_")
	protected String  key; 		/*业务键*/
	@IField(name="summary",column="summary_")
	protected String  summary; 		/*简述*/
	@IField(name="descFid",column="desc_fid_")
	protected String  descFid; 		/*详细描述 FID*/
	@IField(name="eavSetKey",column="eav_set_key_")
	protected String  eavSetKey; 		/*属性集业务键*/
	@IField(name="type",column="type_")
	protected String  type; 		/*产品类型。home=家居*/
	@IField(name="status",column="status_")
	protected String  status; 		/*产品通用状态。actived=激活；inactive=未激活。*/
	@IField(name="mainCateId",column="main_cate_id_")
	protected String  mainCateId; 		/*从属主分类 ID*/
	@IField(name="subCateId",column="sub_cate_id_")
	protected String  subCateId; 		/*从属从分类 ID*/
	@IField(name="belongPartyId",column="belong_party_id_")
	protected String  belongPartyId; 		/*所属参与者 ID*/
	@IField(name="createBy",column="create_by_")
	protected String  createBy; 		/*创建者*/
	@IField(name="createTime",column="create_time_")
	protected java.util.Date  createTime; 		/*创建时间*/
	@IField(name="updateBy",column="update_by_")
	protected String  updateBy; 		/*更新者*/
	@IField(name="updateTime",column="update_time_")
	protected java.util.Date  updateTime; 		/*更新时间*/
	@IField(name="shopId",column="shop_id_")
	protected String  shopId; 		/*更新者*/
	
	
	public String getShopId() {
		return shopId;
	}
	public void setShopId(String shopId) {
		this.shopId = shopId;
	}
	public void setId(String id) 
	{
		this.id = id;
	}
	/**
	 * 返回 产品ID
	 * @return
	 */
	public String getId() 
	{
		return this.id;
	}
	public void setName(String name) 
	{
		this.name = name;
	}
	/**
	 * 返回 名称
	 * @return
	 */
	public String getName() 
	{
		return this.name;
	}
	public void setSubName(String subName) 
	{
		this.subName = subName;
	}
	/**
	 * 返回 副名称
	 * @return
	 */
	public String getSubName() 
	{
		return this.subName;
	}
	public void setKey(String key) 
	{
		this.key = key;
	}
	/**
	 * 返回 业务键
	 * @return
	 */
	public String getKey() 
	{
		return this.key;
	}
	public void setSummary(String summary) 
	{
		this.summary = summary;
	}
	/**
	 * 返回 简述
	 * @return
	 */
	public String getSummary() 
	{
		return this.summary;
	}
	public void setDescFid(String descFid) 
	{
		this.descFid = descFid;
	}
	/**
	 * 返回 详细描述 FID
	 * @return
	 */
	public String getDescFid() 
	{
		return this.descFid;
	}
	public void setEavSetKey(String eavSetKey) 
	{
		this.eavSetKey = eavSetKey;
	}
	/**
	 * 返回 属性集业务键
	 * @return
	 */
	public String getEavSetKey() 
	{
		return this.eavSetKey;
	}
	public void setType(String type) 
	{
		this.type = type;
	}
	/**
	 * 返回 产品类型。home=家居
	 * @return
	 */
	public String getType() 
	{
		return this.type;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}
	/**
	 * 返回 产品通用状态。actived=激活；inactive=未激活。
	 * @return
	 */
	public String getStatus() 
	{
		return this.status;
	}
	public void setMainCateId(String mainCateId) 
	{
		this.mainCateId = mainCateId;
	}
	/**
	 * 返回 从属主分类 ID
	 * @return
	 */
	public String getMainCateId() 
	{
		return this.mainCateId;
	}
	public void setBelongPartyId(String belongPartyId) 
	{
		this.belongPartyId = belongPartyId;
	}
	
	
	public String getSubCateId() {
		return subCateId;
	}
	public void setSubCateId(String subCateId) {
		this.subCateId = subCateId;
	}
	/**
	 * 返回 所属参与者 ID
	 * @return
	 */
	public String getBelongPartyId() 
	{
		return this.belongPartyId;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}
	/**
	 * 返回 创建者
	 * @return
	 */
	public String getCreateBy() 
	{
		return this.createBy;
	}
	public void setCreateTime(java.util.Date createTime) 
	{
		this.createTime = createTime;
	}
	/**
	 * 返回 创建时间
	 * @return
	 */
	public java.util.Date getCreateTime() 
	{
		return this.createTime;
	}
	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}
	/**
	 * 返回 更新者
	 * @return
	 */
	public String getUpdateBy() 
	{
		return this.updateBy;
	}
	public void setUpdateTime(java.util.Date updateTime) 
	{
		this.updateTime = updateTime;
	}
	/**
	 * 返回 更新时间
	 * @return
	 */
	public java.util.Date getUpdateTime() 
	{
		return this.updateTime;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("name", this.name) 
		.append("subName", this.subName) 
		.append("key", this.key) 
		.append("summary", this.summary) 
		.append("descFid", this.descFid) 
		.append("eavSetKey", this.eavSetKey) 
		.append("type", this.type) 
		.append("status", this.status) 
		.append("mainCateId", this.mainCateId) 
		.append("belongPartyId", this.belongPartyId) 
		.append("createBy", this.createBy) 
		.append("createTime", this.createTime) 
		.append("updateBy", this.updateBy) 
		.append("updateTime", this.updateTime) 
		.toString();
	}
}